package com.ambow.Entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import javax.persistence.*;
@Entity
@Table
public class DeliverToOther extends ID implements Serializable{
   private Date deliverDate;
   private String name;
   private int amount;
   @ManyToOne
   @JoinColumn(name="textBook_id",referencedColumnName="id")
   private TextBook textBook;//教材
   @ManyToOne(targetEntity=Operator.class)
   @JoinColumn(name="operater_id",referencedColumnName="id")
    private Operator operator;//操作员
	public Date getDeliverDate() {
		return deliverDate;
	}
	public void setDeliverDate(Date deliverDate) {
		this.deliverDate = deliverDate;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAmount() {
		return amount;
	}
	public void setAmount(int amount) {
		this.amount = amount;
	}
	public TextBook getTextBook() {
		return textBook;
	}
	public void setTextBook(TextBook textBook) {
		this.textBook = textBook;
	}
	public Operator getOperator() {
		return operator;
	}
	public void setOperator(Operator operator) {
		this.operator = operator;
	}

   
    
    
}
